FROM node
WORKDIR /usr/app
COPY ./ /usr/app
RUN npm i
RUN npm run build
FROM daocloud.io/nginx
RUN echo `ls`
RUN cd /usr/share
RUN echo `ls`
COPY dist /usr/share/nginx/html